<template>
	<div>
		<router-view />
		<van-tabbar route>
			<van-tabbar-item icon="home-o" to="/index" replace>首页</van-tabbar-item>
			<van-tabbar-item icon="setting-o" to="/my" replace>我的</van-tabbar-item>
		</van-tabbar>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				active: 0,
			};
		},
		methods:{
			go(index){
				this.active = index
				console.log(index)
			}
		}
	}
</script>

<style>
</style>